<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/3/7 0007
 * Time: 下午 3:55
 */
namespace app\common\validate;

class LoginValidate extends BaseValidate{
    protected $rule = [
        'cashier_account' => 'require|isNotEmpty',
        'cashier_pwd' => 'require|isNotEmpty',
        'serial_number' => 'require|isNotEmpty',
        'aud' => 'require|isNotEmpty',
        'secrect' => 'require|isNotEmpty'
    ];

    protected $message = [
        'cashier_account' => '账号必填!',
        'cashier_pwd' => '密码必填',
        'serial_number' => '收银机SN必填',
        'aud' => 'aud必填',
        'secrect' => 'secrect必填'
    ];
}